<!DOCTYPE html>
<html>
<head>
    <title>套餐明细表</title>
    #parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
        <Row :gutter="16">
            <div class="search-group">
                <i-col span="4">
                    <i-input v-model="q.name" @on-enter="query" placeholder="名称"/>
                </i-col>
                <i-button @click="query">查询</i-button>
                <i-button @click="reloadSearch">重置</i-button>
            </div>
            <div class="buttons-group">
                #if($shiro.hasPermission("umedicalecenter:save"))
                <i-button type="info" @click="add"><i class="fa fa-plus"></i>&nbsp;新增</i-button>
                #end
                #if($shiro.hasPermission("umedicalecenter:update"))
                <i-button type="warning" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</i-button>
                #end
                #if($shiro.hasPermission("umedicalecenter:delete"))
                <i-button type="error" @click="del"><i class="fa fa-trash-o"></i>&nbsp;删除</i-button>
                #end
            </div>
        </Row>
	    <table id="jqGrid"></table>
    </div>

    <Card v-show="!showList">
        <p slot="title">{{title}}</p>
		<i-form ref="formValidate" :model="uMedicalecenter" :rules="ruleValidate" :label-width="80">
            <Form-item label="城市代码" prop="citycode">
                <i-input v-model="uMedicalecenter.citycode" placeholder="城市代码"/>
            </Form-item>
            <Form-item label="城市名称" prop="cityname">
                <i-input v-model="uMedicalecenter.cityname" placeholder="城市名称"/>
            </Form-item>
            <Form-item label="地区代码" prop="areacode">
                <i-input v-model="uMedicalecenter.areacode" placeholder="地区代码"/>
            </Form-item>
            <Form-item label="地区名称" prop="areaname">
                <i-input v-model="uMedicalecenter.areaname" placeholder="地区名称"/>
            </Form-item>
            <Form-item label="医疗品牌代码" prop="medicalbrandcode">
                <i-input v-model="uMedicalecenter.medicalbrandcode" placeholder="医疗品牌代码"/>
            </Form-item>
            <Form-item label="医疗品牌名称" prop="medicalbrandname">
                <i-input v-model="uMedicalecenter.medicalbrandname" placeholder="医疗品牌名称"/>
            </Form-item>
            <Form-item label="体检中心代码" prop="medicalecentercode">
                <i-input v-model="uMedicalecenter.medicalecentercode" placeholder="体检中心代码"/>
            </Form-item>
            <Form-item label="体检中心名称" prop="medicalecentername">
                <i-input v-model="uMedicalecenter.medicalecentername" placeholder="体检中心名称"/>
            </Form-item>
            <Form-item label="体检中心地址" prop="medicalecenteraddress">
                <i-input v-model="uMedicalecenter.medicalecenteraddress" placeholder="体检中心地址"/>
            </Form-item>
            <Form-item label="插入时间" prop="inserttime">
                <i-input v-model="uMedicalecenter.inserttime" placeholder="插入时间"/>
            </Form-item>
            <Form-item label="更新时间" prop="operatetime">
                <i-input v-model="uMedicalecenter.operatetime" placeholder="更新时间"/>
            </Form-item>
            <Form-item>
                <i-button type="primary" @click="handleSubmit('formValidate')">提交</i-button>
                <i-button type="warning" @click="reload" style="margin-left: 8px"/>返回</i-button>
                <i-button type="ghost" @click="handleReset('formValidate')" style="margin-left: 8px">重置</i-button>
            </Form-item>
        </i-form>
	</Card>
</div>

<script src="${rc.contextPath}/js/sys/umedicalecenter.js?_${date.systemTime}"></script>
</body>
</html>